.video-upload-warp {
    // 基本大小
    @width: 2.3rem;
    position: relative;
    float: left;
    width: @width;
    margin-right: .1rem;
    height: @width;
    display: block;
    margin-bottom: 6px;
    background-size: @width;
    font-size: 0.30rem;

    .video-play,
    .video-upload-btn,
    .video-upload-btn-warp,
    .video-uploading,
    .video-warp {
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        border-radius: 2px;
        height: 100%;
        width: 100%;
        display: block;
    }

    .delete {
        @deleteWidth: @width / 4;
        position: absolute;
        width: @deleteWidth;
        height: @deleteWidth;
        // left: -@deleteWidth / 4;
        // top: -@deleteWidth / 4;
        left: .04rem;
        top: .04rem;
        margin: 0;
        padding: 0;
        background-image: url("//cdn.weipaitang.com/res/img/delete.png");
        background-size: 100%;
        z-index: 10;
        display: none;
    }

    .video-upload-btn {
        background: #eee;
    }

    .video-play,
    .video-uploading {
        display: none;
    }

    .video-warp {
        background: #000;
        display: none;
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
    }

    .video-play {
        background-size: 32% auto;
        background-position: 90% 90%;
        background-image: url("//cdn.weipaitang.com/res/img/video/video_play.png");
    }

    .mask {
        position: absolute;
        height: 100%;
        width: 100%;
    }

    &.progress .mask {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    &.progress .video-uploading {
        display: block;
    }

    &.progress .video-upload-btn-warp {
        display: none;
    }

    &.done .mask {
        display: none;
    }

    &.done .video-uploading {
        display: block;
        position: relative;
    }

    &.done .video-upload-btn-warp {
        display: none;
    }

    &.done .delete {
        display: block;
    }

    &.done .video-play {
        display: block;
    }

    .wptFont-plus-icon,
    .wptFont-video-icon {
        position: relative;
        content: "";
        display: block;
        height: 34/80 * @width;
        width: 34/80 * @width;
        margin: 0 auto 5px;
        background-size: 100% auto;
    }

    .wptFont-video-icon {
        background-image: url("//cdn.weipaitang.com/res/img/video/video_upload.png");
    }

    .mask,
    .video-upload-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #888;
        background: #eee;
    }

    &.disabled .video-upload-btn {
        opacity: 0.5;
    }
}
